	.arch armv8-a
	.arch_extension crc
	.arm
	.data
	.global n
	.align 4
	.size n, 4
n:
	.word 0
	.text
	.global bubblesort
	.type bubblesort , %function
bubblesort:
	push {r4, r5, r6, r7, r8, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #16
.L531:
	str r0, [fp, #-16]
	ldr r10, =0
	str r10, [fp, #-12]
	b .L535
.L535:
	ldr r4, [fp, #-12]
	cmp r4, #0
	ldr r5, addr_n0
	ldr r6, [r5]
	cmp r6, #0
	ldr r5, =1
	sub r7, r6, r5
	cmp r4, r7
	movlt r4, #1
	movgt r4, #0
	blt .L536
	b .L548
.L536:
	ldr r4, =0
	str r4, [fp, #-8]
	b .L549
.L537:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L539:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L540:
	b .L539
.L543:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L544:
	b .L543
.L548:
	b .L537
.L549:
	ldr r4, [fp, #-8]
	cmp r4, #0
	ldr r5, addr_n0
	ldr r6, [r5]
	cmp r6, #0
	ldr r5, [fp, #-12]
	cmp r5, #0
	sub r7, r6, r5
	ldr r5, =1
	sub r6, r7, r5
	cmp r4, r6
	movlt r4, #1
	movgt r4, #0
	blt .L550
	b .L566
.L550:
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-8]
	cmp r5, #0
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-8]
	cmp r6, #0
	ldr r7, =1
	add r8, r6, r7
	mov r6, #4
	mul r7, r8, r6
	add r6, r5, r7
	ldr r5, [r6]
	cmp r4, r5
	movgt r4, #1
	movlt r4, #0
	bgt .L567
	b .L583
.L551:
	ldr r4, [fp, #-12]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-12]
	b .L535
.L553:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L554:
	b .L553
.L557:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L558:
	b .L557
.L561:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L562:
	b .L561
.L566:
	b .L551
.L567:
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-8]
	ldr r6, =1
	add r7, r5, r6
	mov r5, #4
	mul r6, r7, r5
	add r5, r4, r6
	ldr r4, [r5]
	str r4, [fp, #-4]
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-8]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-8]
	ldr r7, =1
	add r8, r6, r7
	mov r6, #4
	mul r7, r8, r6
	add r6, r5, r7
	str r4, [r6]
	ldr r4, [fp, #-4]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-8]
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	str r4, [r6]
	b .L568
.L568:
	ldr r4, [fp, #-8]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-8]
	b .L549
.L571:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L572:
	b .L571
.L577:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L578:
	b .L577
.L583:
	b .L568

	.global insertsort
	.type insertsort , %function
insertsort:
	push {r4, r5, r6, r7, r8, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #16
.L591:
	str r0, [fp, #-16]
	ldr r10, =1
	str r10, [fp, #-12]
	b .L594
.L594:
	ldr r4, [fp, #-12]
	cmp r4, #0
	ldr r5, addr_n0
	ldr r6, [r5]
	cmp r6, #0
	cmp r4, r6
	movlt r4, #1
	movgt r4, #0
	blt .L595
	b .L607
.L595:
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-12]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	str r4, [fp, #-8]
	ldr r4, [fp, #-12]
	ldr r5, =1
	sub r6, r4, r5
	str r6, [fp, #-4]
	b .L612
.L596:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L598:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L599:
	b .L598
.L602:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L603:
	b .L602
.L607:
	b .L596
.L612:
	ldr r4, [fp, #-4]
	cmp r4, #0
	ldr r5, =0
	ldr r6, =1
	sub r7, r5, r6
	cmp r7, #0
	cmp r4, r7
	movgt r4, #1
	movlt r4, #0
	bgt .L615
	b .L626
.L613:
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-4]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-4]
	ldr r7, =1
	add r8, r6, r7
	mov r6, #4
	mul r7, r8, r6
	add r6, r5, r7
	str r4, [r6]
	ldr r4, [fp, #-4]
	ldr r5, =1
	sub r6, r4, r5
	str r6, [fp, #-4]
	b .L612
.L614:
	ldr r4, [fp, #-8]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-4]
	ldr r7, =1
	add r8, r6, r7
	mov r6, #4
	mul r7, r8, r6
	add r6, r5, r7
	str r4, [r6]
	ldr r4, [fp, #-12]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-12]
	b .L594
.L615:
	ldr r4, [fp, #-8]
	cmp r4, #0
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-4]
	cmp r6, #0
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	ldr r5, [r6]
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L613
	b .L639
.L617:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L618:
	b .L617
.L621:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L622:
	b .L621
.L626:
	b .L614
.L628:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L629:
	b .L628
.L633:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L634:
	b .L633
.L639:
	b .L614

	.global QuickSort
	.type QuickSort , %function
QuickSort:
	push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #28
.L644:
	str r0, [fp, #-28]
	str r1, [fp, #-24]
	str r2, [fp, #-20]
	ldr r10, [fp, #-24]
	cmp r10, #0
	ldr r9, [fp, #-20]
	cmp r9, #0
	cmp r10, r9
	movlt r4, #1
	movgt r4, #0
	blt .L648
	b .L660
.L648:
	ldr r4, [fp, #-24]
	str r4, [fp, #-16]
	ldr r4, [fp, #-20]
	str r4, [fp, #-12]
	ldr r4, [fp, #-28]
	ldr r5, [fp, #-24]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	str r4, [fp, #-8]
	b .L666
.L649:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L651:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L652:
	b .L651
.L655:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L656:
	b .L655
.L660:
	b .L649
.L666:
	ldr r4, [fp, #-16]
	cmp r4, #0
	ldr r5, [fp, #-12]
	cmp r5, #0
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L667
	b .L679
.L667:
	b .L680
.L668:
	ldr r4, [fp, #-8]
	ldr r5, [fp, #-28]
	ldr r6, [fp, #-16]
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	str r4, [r6]
	ldr r4, [fp, #-16]
	ldr r5, =1
	sub r6, r4, r5
	str r6, [fp, #-4]
	ldr r4, [fp, #-28]
	ldr r5, [fp, #-24]
	ldr r6, [fp, #-4]
	mov r0, r4
	mov r1, r5
	mov r2, r6
	bl QuickSort
	mov r4, r0
	str r4, [fp, #-4]
	ldr r4, [fp, #-16]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	ldr r4, [fp, #-28]
	ldr r5, [fp, #-4]
	ldr r6, [fp, #-20]
	mov r0, r4
	mov r1, r5
	mov r2, r6
	bl QuickSort
	mov r4, r0
	str r4, [fp, #-4]
	b .L649
.L670:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L671:
	b .L670
.L674:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L675:
	b .L674
.L679:
	b .L668
.L680:
	ldr r4, [fp, #-16]
	cmp r4, #0
	ldr r5, [fp, #-12]
	cmp r5, #0
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L683
	b .L694
.L681:
	ldr r4, [fp, #-12]
	ldr r5, =1
	sub r6, r4, r5
	str r6, [fp, #-12]
	b .L680
.L682:
	ldr r4, [fp, #-16]
	cmp r4, #0
	ldr r5, [fp, #-12]
	cmp r5, #0
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L708
	b .L720
.L683:
	ldr r4, [fp, #-28]
	ldr r5, [fp, #-12]
	cmp r5, #0
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-8]
	cmp r5, #0
	ldr r6, =1
	sub r7, r5, r6
	cmp r4, r7
	movgt r4, #1
	movlt r4, #0
	bgt .L681
	b .L707
.L685:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L686:
	b .L685
.L689:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L690:
	b .L689
.L694:
	b .L682
.L697:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L698:
	b .L697
.L702:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L703:
	b .L702
.L707:
	b .L682
.L708:
	ldr r4, [fp, #-28]
	ldr r5, [fp, #-12]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-28]
	ldr r6, [fp, #-16]
	mov r8, #4
	mul r7, r6, r8
	add r6, r5, r7
	str r4, [r6]
	ldr r4, [fp, #-16]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-16]
	b .L709
	b .F0
.LTORG
addr_n0:
	.word n
.F0:
.L709:
	b .L724
.L711:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L712:
	b .L711
.L715:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L716:
	b .L715
.L720:
	b .L709
.L724:
	ldr r4, [fp, #-16]
	cmp r4, #0
	ldr r5, [fp, #-12]
	cmp r5, #0
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L727
	b .L738
.L725:
	ldr r4, [fp, #-16]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-16]
	b .L724
.L726:
	ldr r4, [fp, #-16]
	cmp r4, #0
	ldr r5, [fp, #-12]
	cmp r5, #0
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L752
	b .L764
.L727:
	ldr r4, [fp, #-28]
	ldr r5, [fp, #-16]
	cmp r5, #0
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-8]
	cmp r5, #0
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L725
	b .L751
.L729:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L730:
	b .L729
.L733:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L734:
	b .L733
.L738:
	b .L726
.L741:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L742:
	b .L741
.L746:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L747:
	b .L746
.L751:
	b .L726
.L752:
	ldr r4, [fp, #-28]
	ldr r5, [fp, #-16]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-28]
	ldr r6, [fp, #-12]
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	str r4, [r6]
	ldr r4, [fp, #-12]
	ldr r5, =1
	sub r6, r4, r5
	str r6, [fp, #-12]
	b .L753
.L753:
	b .L666
.L755:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L756:
	b .L755
.L759:
	mov r0, #0
	add sp, sp, #28
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L760:
	b .L759
.L764:
	b .L753

	.global getMid
	.type getMid , %function
getMid:
	push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #8
.L772:
	str r0, [fp, #-8]
	ldr r10, addr_n1
	ldr r9, [r10]
	cmp r9, #0
	ldr r4, =2
	sdiv r5, r9, r4
	mul r5, r5, r4
	sub r4, r9, r5
	cmp r4, #0
	beq .L775
	b .L784
.L775:
	ldr r4, addr_n1
	ldr r5, [r4]
	ldr r4, =2
	sdiv r6, r5, r4
	str r6, [fp, #-4]
	ldr r4, [fp, #-8]
	ldr r5, [fp, #-4]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-8]
	ldr r6, [fp, #-4]
	ldr r7, =1
	sub r8, r6, r7
	mov r6, #4
	mul r7, r8, r6
	add r6, r5, r7
	ldr r5, [r6]
	add r6, r4, r5
	ldr r4, =2
	sdiv r5, r6, r4
	mov r0, r5
	add sp, sp, #8
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
	b .L776
.L776:
	mov r0, #0
	add sp, sp, #8
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L777:
	ldr r4, addr_n1
	ldr r5, [r4]
	ldr r4, =2
	sdiv r6, r5, r4
	str r6, [fp, #-4]
	ldr r4, [fp, #-8]
	ldr r5, [fp, #-4]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	mov r0, r4
	add sp, sp, #8
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
	b .L776
.L779:
	mov r0, #0
	add sp, sp, #8
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L780:
	b .L779
.L784:
	b .L777

	.global getMost
	.type getMost , %function
getMost:
	push {r4, r5, r6, r7, r8, r10, fp, lr}
	mov fp, sp
	ldr r4, =4020
	sub sp, sp, r4
.L791:
	ldr r10, =-4020
	str r0, [fp, r10]
	ldr r4, =0
	str r4, [fp, #-16]
	b .L795
.L795:
	ldr r4, [fp, #-16]
	cmp r4, #0
	ldr r5, =1000
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L796
	b .L804
.L796:
	ldr r4, [fp, #-16]
	ldr r5, =-4016
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =0
	str r4, [r5]
	ldr r4, [fp, #-16]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-16]
	b .L795
.L797:
	ldr r4, =0
	str r4, [fp, #-16]
	ldr r4, =0
	str r4, [fp, #-12]
	b .L807
.L799:
	mov r0, #0
	ldr r1, =4020
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L800:
	b .L799
.L804:
	b .L797
.L807:
	ldr r4, [fp, #-16]
	cmp r4, #0
	ldr r5, addr_n1
	ldr r6, [r5]
	cmp r6, #0
	cmp r4, r6
	movlt r4, #1
	movgt r4, #0
	blt .L808
	b .L820
.L808:
	ldr r5, =-4020
	ldr r4, [fp, r5]
	ldr r5, [fp, #-16]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	str r4, [fp, #-4]
	ldr r4, [fp, #-4]
	ldr r5, =-4016
	mov r7, #4
	mul r6, r4, r7
	add r4, r5, r6
	add r5, fp, r4
	ldr r4, [r5]
	ldr r5, =1
	add r6, r4, r5
	ldr r4, [fp, #-4]
	ldr r5, =-4016
	mov r7, #4
	mul r8, r4, r7
	add r4, r5, r8
	add r5, fp, r4
	str r6, [r5]
	ldr r4, [fp, #-4]
	cmp r4, #0
	ldr r5, =-4016
	mov r7, #4
	mul r6, r4, r7
	add r4, r5, r6
	add r5, fp, r4
	ldr r4, [r5]
	ldr r5, [fp, #-12]
	cmp r5, #0
	cmp r4, r5
	movgt r4, #1
	movlt r4, #0
	bgt .L825
	b .L838
.L809:
	ldr r4, [fp, #-8]
	mov r0, r4
	ldr r1, =4020
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L811:
	mov r0, #0
	ldr r1, =4020
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L812:
	b .L811
.L815:
	mov r0, #0
	ldr r1, =4020
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L816:
	b .L815
.L820:
	b .L809
.L825:
	ldr r4, [fp, #-4]
	ldr r5, =-4016
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [r5]
	str r4, [fp, #-12]
	ldr r4, [fp, #-4]
	str r4, [fp, #-8]
	b .L826
.L826:
	ldr r4, [fp, #-16]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-16]
	b .L807
.L828:
	mov r0, #0
	ldr r1, =4020
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L829:
	b .L828
.L833:
	mov r0, #0
	ldr r1, =4020
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L834:
	b .L833
.L838:
	b .L826

	.global revert
	.type revert , %function
revert:
	push {r4, r5, r6, r7, r8, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #16
.L840:
	str r0, [fp, #-16]
	ldr r10, =0
	str r10, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	b .L845
.L845:
	ldr r4, [fp, #-8]
	cmp r4, #0
	ldr r5, [fp, #-4]
	cmp r5, #0
	cmp r4, r5
	movlt r4, #1
	movgt r4, #0
	blt .L846
	b .L858
.L846:
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-8]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	str r4, [fp, #-12]
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-4]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-8]
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	str r4, [r6]
	ldr r4, [fp, #-12]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-4]
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	str r4, [r6]
	ldr r4, [fp, #-8]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-8]
	ldr r4, [fp, #-4]
	ldr r5, =1
	sub r6, r4, r5
	str r6, [fp, #-4]
	b .L845
.L847:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L849:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L850:
	b .L849
.L853:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L854:
	b .L853
.L858:
	b .L847

	.global arrCopy
	.type arrCopy , %function
arrCopy:
	push {r4, r5, r6, r7, r8, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #12
.L865:
	str r0, [fp, #-12]
	str r1, [fp, #-8]
	ldr r10, =0
	str r10, [fp, #-4]
	b .L869
.L869:
	ldr r4, [fp, #-4]
	cmp r4, #0
	ldr r5, addr_n1
	ldr r6, [r5]
	cmp r6, #0
	cmp r4, r6
	movlt r4, #1
	movgt r4, #0
	blt .L870
	b .L882
.L870:
	ldr r4, [fp, #-12]
	ldr r5, [fp, #-4]
	mov r7, #4
	mul r6, r5, r7
	add r5, r4, r6
	ldr r4, [r5]
	ldr r5, [fp, #-8]
	ldr r6, [fp, #-4]
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	str r4, [r6]
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L869
.L871:
	mov r0, #0
	add sp, sp, #12
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L873:
	mov r0, #0
	add sp, sp, #12
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L874:
	b .L873
.L877:
	mov r0, #0
	add sp, sp, #12
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L878:
	b .L877
.L882:
	b .L871

	.global calSum
	.type calSum , %function
calSum:
	push {r4, r5, r6, r7, r8, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #16
.L886:
	str r0, [fp, #-16]
	str r1, [fp, #-12]
	ldr r10, =0
	str r10, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	b .L891
.L891:
	ldr r4, [fp, #-4]
	cmp r4, #0
	ldr r5, addr_n1
	ldr r6, [r5]
	cmp r6, #0
	cmp r4, r6
	movlt r4, #1
	movgt r4, #0
	blt .L892
	b .L904
.L892:
	ldr r4, [fp, #-8]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-4]
	mov r8, #4
	mul r7, r6, r8
	add r6, r5, r7
	ldr r5, [r6]
	add r6, r4, r5
	str r6, [fp, #-8]
	ldr r4, [fp, #-4]
	cmp r4, #0
	ldr r5, [fp, #-12]
	cmp r5, #0
	sdiv r6, r4, r5
	mul r5, r6, r5
	sub r6, r4, r5
	ldr r4, [fp, #-12]
	cmp r4, #0
	ldr r5, =1
	sub r7, r4, r5
	cmp r6, r7
	bne .L907
	b .L924
.L893:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L895:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L896:
	b .L895
.L899:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L900:
	b .L899
.L904:
	b .L893
.L907:
	ldr r4, [fp, #-16]
	ldr r5, [fp, #-4]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, =0
	str r4, [r5]
	b .L908
.L908:
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L891
.L909:
	ldr r4, [fp, #-8]
	ldr r5, [fp, #-16]
	ldr r6, [fp, #-4]
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	str r4, [r6]
	ldr r4, =0
	str r4, [fp, #-8]
	b .L908
.L911:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L912:
	b .L911
.L915:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L916:
	b .L915
.L919:
	mov r0, #0
	add sp, sp, #16
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L920:
	b .L919
.L924:
	b .L909

	.global avgPooling
	.type avgPooling , %function
avgPooling:
	push {r4, r5, r6, r7, r8, r10, fp, lr}
	mov fp, sp
	sub sp, sp, #20
.L927:
	str r0, [fp, #-20]
	str r1, [fp, #-16]
	ldr r10, =0
	str r10, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-12]
	b .L933
.L933:
	ldr r4, [fp, #-8]
	cmp r4, #0
	ldr r5, addr_n1
	ldr r6, [r5]
	cmp r6, #0
	cmp r4, r6
	movlt r4, #1
	movgt r4, #0
	blt .L934
	b .L946
.L934:
	ldr r4, [fp, #-8]
	cmp r4, #0
	ldr r5, [fp, #-16]
	cmp r5, #0
	ldr r6, =1
	sub r7, r5, r6
	cmp r4, r7
	movlt r4, #1
	movgt r4, #0
	blt .L947
	b .L960
.L935:
	ldr r4, addr_n1
	ldr r5, [r4]
	ldr r4, [fp, #-16]
	sub r6, r5, r4
	ldr r4, =1
	add r5, r6, r4
	str r5, [fp, #-8]
	b .L985
.L937:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L938:
	b .L937
.L941:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L942:
	b .L941
.L946:
	b .L935
.L947:
	ldr r4, [fp, #-12]
	ldr r5, [fp, #-20]
	ldr r6, [fp, #-8]
	mov r8, #4
	mul r7, r6, r8
	add r6, r5, r7
	ldr r5, [r6]
	add r6, r4, r5
	str r6, [fp, #-12]
	b .L948
.L948:
	ldr r4, [fp, #-8]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-8]
	b .L933
.L949:
	ldr r4, [fp, #-8]
	cmp r4, #0
	ldr r5, [fp, #-16]
	cmp r5, #0
	ldr r6, =1
	sub r7, r5, r6
	cmp r4, r7
	beq .L963
	b .L976
.L951:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L952:
	b .L951
.L955:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L956:
	b .L955
.L960:
	b .L949
.L963:
	ldr r4, [fp, #-20]
	mov r5, #0
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, [r5]
	str r4, [fp, #-4]
	ldr r4, [fp, #-12]
	ldr r5, [fp, #-16]
	sdiv r6, r4, r5
	ldr r4, [fp, #-20]
	mov r5, #0
	mov r8, #4
	mul r7, r5, r8
	add r5, r4, r7
	str r6, [r5]
	b .L964
.L964:
	b .L948
.L965:
	ldr r4, [fp, #-12]
	ldr r5, [fp, #-20]
	ldr r6, [fp, #-8]
	mov r7, #4
	mul r8, r6, r7
	add r6, r5, r8
	ldr r5, [r6]
	add r6, r4, r5
	ldr r4, [fp, #-4]
	sub r5, r6, r4
	str r5, [fp, #-12]
	ldr r4, [fp, #-20]
	ldr r5, [fp, #-8]
	ldr r6, [fp, #-16]
	sub r7, r5, r6
	ldr r5, =1
	add r6, r7, r5
	mov r5, #4
	mul r7, r6, r5
	add r5, r4, r7
	ldr r4, [r5]
	str r4, [fp, #-4]
	ldr r4, [fp, #-12]
	ldr r5, [fp, #-16]
	sdiv r6, r4, r5
	ldr r4, [fp, #-20]
	ldr r5, [fp, #-8]
	ldr r7, [fp, #-16]
	sub r8, r5, r7
	ldr r5, =1
	add r7, r8, r5
	mov r5, #4
	mul r8, r7, r5
	add r5, r4, r8
	str r6, [r5]
	b .L964
.L967:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L968:
	b .L967
.L971:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L972:
	b .L971
.L976:
	b .L965
.L985:
	ldr r4, [fp, #-8]
	cmp r4, #0
	ldr r5, addr_n1
	ldr r6, [r5]
	cmp r6, #0
	cmp r4, r6
	movlt r4, #1
	movgt r4, #0
	blt .L986
	b .L998
.L986:
	ldr r4, [fp, #-20]
	ldr r5, [fp, #-8]
	mov r6, #4
	mul r7, r5, r6
	add r5, r4, r7
	ldr r4, =0
	str r4, [r5]
	ldr r4, [fp, #-8]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-8]
	b .L985
	b .F1
.LTORG
addr_n1:
	.word n
.F1:
.L987:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L989:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L990:
	b .L989
.L993:
	mov r0, #0
	add sp, sp, #20
	pop {r4, r5, r6, r7, r8, r10, fp, lr}
	bx lr
.L994:
	b .L993
.L998:
	b .L987

	.global main
	.type main , %function
main:
	push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov fp, sp
	ldr r4, =264
	sub sp, sp, r4
.L1000:
	ldr r10, =32
	ldr r9, addr_n2
	str r10, [r9]
	mov r4, #0
	ldr r5, =-264
	mov r7, #4
	mul r6, r4, r7
	add r4, r5, r6
	add r5, fp, r4
	ldr r4, =7
	str r4, [r5]
	mov r4, #1
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =23
	str r4, [r5]
	mov r4, #2
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =89
	str r4, [r5]
	mov r4, #3
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =26
	str r4, [r5]
	mov r4, #4
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =282
	str r4, [r5]
	mov r4, #5
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =254
	str r4, [r5]
	mov r4, #6
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =27
	str r4, [r5]
	mov r4, #7
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =5
	str r4, [r5]
	mov r4, #8
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =83
	str r4, [r5]
	mov r4, #9
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =273
	str r4, [r5]
	mov r4, #10
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =574
	str r4, [r5]
	mov r4, #11
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =905
	str r4, [r5]
	mov r4, #12
	ldr r5, =-264
	mov r7, #4
	mul r6, r4, r7
	add r4, r5, r6
	add r5, fp, r4
	ldr r4, =354
	str r4, [r5]
	mov r4, #13
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =657
	str r4, [r5]
	mov r4, #14
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =935
	str r4, [r5]
	mov r4, #15
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =264
	str r4, [r5]
	mov r4, #16
	ldr r5, =-264
	mov r7, #4
	mul r6, r4, r7
	add r4, r5, r6
	add r5, fp, r4
	ldr r4, =639
	str r4, [r5]
	mov r4, #17
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =459
	str r4, [r5]
	mov r4, #18
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =29
	str r4, [r5]
	mov r4, #19
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =68
	str r4, [r5]
	mov r4, #20
	ldr r5, =-264
	mov r7, #4
	mul r6, r4, r7
	add r4, r5, r6
	add r5, fp, r4
	ldr r4, =929
	str r4, [r5]
	mov r4, #21
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =756
	str r4, [r5]
	mov r4, #22
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =452
	str r4, [r5]
	mov r4, #23
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =279
	str r4, [r5]
	mov r4, #24
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =58
	str r4, [r5]
	mov r4, #25
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =87
	str r4, [r5]
	mov r4, #26
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =96
	str r4, [r5]
	mov r4, #27
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =36
	str r4, [r5]
	mov r4, #28
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =39
	str r4, [r5]
	mov r4, #29
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =28
	str r4, [r5]
	mov r4, #30
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =1
	str r4, [r5]
	mov r4, #31
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, =290
	str r4, [r5]
	mov r4, #0
	ldr r5, =-264
	mov r7, #4
	mul r6, r4, r7
	add r4, r5, r6
	add r5, fp, r4
	mov r4, #0
	mov r6, #-136
	mov r8, #4
	mul r7, r4, r8
	add r4, r6, r7
	add r6, fp, r4
	mov r0, r5
	mov r1, r6
	bl arrCopy
	mov r4, r0
	str r4, [fp, #-8]
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r0, r5
	bl revert
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	b .L1005
	b .F2
.LTORG
addr_n2:
	.word n
.F2:
.L1005:
	ldr r4, [fp, #-4]
	cmp r4, #0
	cmp r4, #32
	movlt r4, #1
	movgt r4, #0
	blt .L1006
	b .L1014
.L1006:
	ldr r4, [fp, #-4]
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [r5]
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L1005
.L1007:
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r0, r5
	bl bubblesort
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	b .L1016
.L1009:
	mov r0, #0
	ldr r1, =264
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L1010:
	b .L1009
.L1014:
	b .L1007
.L1016:
	ldr r4, [fp, #-4]
	cmp r4, #0
	cmp r4, #32
	movlt r4, #1
	movgt r4, #0
	blt .L1017
	b .L1025
.L1017:
	ldr r4, [fp, #-4]
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [r5]
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L1016
.L1018:
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r0, r5
	bl getMid
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r0, r5
	bl getMost
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	mov r4, #0
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r4, #0
	mov r6, #-136
	mov r7, #4
	mul r8, r4, r7
	add r4, r6, r8
	add r6, fp, r4
	mov r0, r5
	mov r1, r6
	bl arrCopy
	mov r4, r0
	str r4, [fp, #-8]
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r0, r5
	bl bubblesort
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	b .L1027
.L1020:
	mov r0, #0
	ldr r1, =264
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L1021:
	b .L1020
.L1025:
	b .L1018
.L1027:
	ldr r4, [fp, #-4]
	cmp r4, #0
	cmp r4, #32
	movlt r4, #1
	movgt r4, #0
	blt .L1028
	b .L1036
.L1028:
	ldr r4, [fp, #-4]
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [r5]
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L1027
.L1029:
	mov r4, #0
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r4, #0
	mov r6, #-136
	mov r7, #4
	mul r8, r4, r7
	add r4, r6, r8
	add r6, fp, r4
	mov r0, r5
	mov r1, r6
	bl arrCopy
	mov r4, r0
	str r4, [fp, #-8]
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r0, r5
	bl insertsort
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	b .L1038
	b .F3
.LTORG
addr_n3:
	.word n
.F3:
.L1031:
	mov r0, #0
	ldr r1, =264
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L1032:
	b .L1031
.L1036:
	b .L1029
.L1038:
	ldr r4, [fp, #-4]
	cmp r4, #0
	cmp r4, #32
	movlt r4, #1
	movgt r4, #0
	blt .L1039
	b .L1047
.L1039:
	ldr r4, [fp, #-4]
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [r5]
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L1038
.L1040:
	mov r4, #0
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r4, #0
	mov r6, #-136
	mov r7, #4
	mul r8, r4, r7
	add r4, r6, r8
	add r6, fp, r4
	mov r0, r5
	mov r1, r6
	bl arrCopy
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	ldr r4, =31
	str r4, [fp, #-8]
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [fp, #-4]
	ldr r6, [fp, #-8]
	mov r0, r5
	mov r1, r4
	mov r2, r6
	bl QuickSort
	mov r4, r0
	str r4, [fp, #-8]
	b .L1049
.L1042:
	mov r0, #0
	ldr r1, =264
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L1043:
	b .L1042
.L1047:
	b .L1040
.L1049:
	ldr r4, [fp, #-4]
	cmp r4, #0
	cmp r4, #32
	movlt r4, #1
	movgt r4, #0
	blt .L1050
	b .L1058
.L1050:
	ldr r4, [fp, #-4]
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [r5]
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L1049
.L1051:
	mov r4, #0
	ldr r5, =-264
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r4, #0
	mov r6, #-136
	mov r8, #4
	mul r7, r4, r8
	add r4, r6, r7
	add r6, fp, r4
	mov r0, r5
	mov r1, r6
	bl arrCopy
	mov r4, r0
	str r4, [fp, #-8]
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r0, r5
	mov r1, #4
	bl calSum
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	b .L1060
.L1053:
	mov r0, #0
	ldr r1, =264
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L1054:
	b .L1053
.L1058:
	b .L1051
.L1060:
	ldr r4, [fp, #-4]
	cmp r4, #0
	cmp r4, #32
	movlt r4, #1
	movgt r4, #0
	blt .L1061
	b .L1069
.L1061:
	ldr r4, [fp, #-4]
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [r5]
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L1060
.L1062:
	mov r4, #0
	ldr r5, =-264
	mov r7, #4
	mul r6, r4, r7
	add r4, r5, r6
	add r5, fp, r4
	mov r4, #0
	mov r6, #-136
	mov r7, #4
	mul r8, r4, r7
	add r4, r6, r8
	add r6, fp, r4
	mov r0, r5
	mov r1, r6
	bl arrCopy
	mov r4, r0
	str r4, [fp, #-8]
	mov r4, #0
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	mov r0, r5
	mov r1, #3
	bl avgPooling
	mov r4, r0
	str r4, [fp, #-8]
	ldr r4, =0
	str r4, [fp, #-4]
	b .L1071
	b .F4
.LTORG
addr_n4:
	.word n
.F4:
.L1064:
	mov r0, #0
	ldr r1, =264
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L1065:
	b .L1064
.L1069:
	b .L1062
.L1071:
	ldr r4, [fp, #-4]
	cmp r4, #0
	cmp r4, #32
	movlt r4, #1
	movgt r4, #0
	blt .L1072
	b .L1080
.L1072:
	ldr r4, [fp, #-4]
	mov r5, #-136
	mov r6, #4
	mul r7, r4, r6
	add r4, r5, r7
	add r5, fp, r4
	ldr r4, [r5]
	str r4, [fp, #-8]
	ldr r4, [fp, #-8]
	mov r0, r4
	bl putint
	ldr r4, [fp, #-4]
	ldr r5, =1
	add r6, r4, r5
	str r6, [fp, #-4]
	b .L1071
.L1073:
	mov r0, #0
	ldr r1, =264
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L1075:
	mov r0, #0
	ldr r1, =264
	add sp, sp, r1
	pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx lr
.L1076:
	b .L1075
.L1080:
	b .L1073

addr_n5:
	.word n
